/* exbuf.h */

#ifndef EXBUF_H
#define EXBUF_H

#define BUF_CAP 255

#define EX_OK 1

typedef struct ex_buf{
	char data[BUF_CAP+1];
	int len;
	int cursor_pos;
} ex_buf_t;

int ex_buf_add_key(ex_buf_t * buf, int key);


#endif /* EXBUF_H */
